<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="${basePackage}.mapper.${className}Mapper">

    <resultMap id="BaseResultMap" type="${basePackage}.model.${className}">
        <#list columnInfoList as columnInfo>
            <result column="${columnInfo.originName}" property="${columnInfo.lowerCamelName}" jdbcType="${columnInfo.jdbcType}"/>
        </#list>
    </resultMap>

    <sql id="Base_Column_List">
        <#list columnInfoList as columnInfo>
            <#if columnInfo_has_next>
        ${columnInfo.originName},
            <#else>
        ${columnInfo.originName}
            </#if>
        </#list>
    </sql>


</mapper>